//
//  OrderNumberView.m
//  代理端
//
//  Created by mac on 16/3/8.
//  Copyright © 2016年 sliver. All rights reserved.
//

#import "OrderNumberView.h"
@interface OrderNumberView()

@property (weak, nonatomic) IBOutlet UILabel *orderNumberLable;
@property (weak, nonatomic) IBOutlet UILabel *orderStateLable;

@property (weak, nonatomic) IBOutlet UIView *lineView;

@end
@implementation OrderNumberView
-(void)awakeFromNib
{
    [AutoLayoutUtil autoLayoutWith:self.subviews];
}
-(void)gavemeModel:(OrderDetailModel *)model
{
    self.orderNumberLable.text = [NSString stringWithFormat:@"订单号: %@",model.sum];
    self.orderStateLable.text = [OrderState orderStatesString:model.state WithStap:model.state_step];

}
@end
